package net.hn.hnms.biz.power.repository;

import net.hn.hnms.biz.power.domain.HisSensorMonitor;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Date;

/**
 * 智呈物联 pan'sx
 * 2022/12/21 11:14
 * 1.0 version
 */
@Repository
public interface HisSensorMonitorRepository extends JpaRepository<HisSensorMonitor,Long> {

    HisSensorMonitor findFirstBySensorInfo_PointCodeAndDataTimeBeforeOrderByDataTimeDesc(String pointCode, Date dataTime);
}
